# -*- encoding: utf-8 -*-
# @Author : lijing
# @Time : 2021/2/5 15:37
import pytest
from apscheduler.schedulers.blocking import BlockingScheduler
def high_job():
    pytest.main(["-v", "-s", "./case/test_1.py", "--html=report.html"])
if __name__ == '__main__':
    pytest.main(["-v", "-s", "./case/test_1.py"])
    # scheduler = BlockingScheduler()
    # # 每隔5分钟触发一次
    # scheduler.add_job(high_job, 'interval', minutes=5)
    # scheduler.start()